<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <ui:composition>
        <h:panelGrid columns="2">
            <h:outputLabel value="Categoria" for="itName"/>
            <h:inputText id="itName" value="#{categoriaController.categoria.descricao}"  required="true" requiredMessage="Campo Obrigatório"  maxlength="40" size="25">
            </h:inputText>
            <h:outputLabel value="Desabilitar" />
            <h:selectBooleanCheckbox value="#{categoriaController.categoria.desabilitado}" id="itDesab" styleClass="checkbox">
            </h:selectBooleanCheckbox>
        </h:panelGrid>
    </ui:composition>
</html>
